﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace Model.Entities
{
    public class Vehicle
    {
        public enum EnumCategory
        {
            Car,
            Motorcicle,
            Quad,
            Boat,
            Plane
        }

        [Key]
        public int VehicleID { get; set; }

        [Required]
        public EnumCategory Category { get; set; }

        [Required]
        public virtual VehicleManufacturer VehicleManufacturer { set; get; }
        
        [Required]
        public String Brand { set; get; }

        public int ModelYear { get; set; }
        public String Origin { get; set; }
        public int MPG { get; set; }
        public int Cylinders { get; set; }
        public decimal Horsepower { get; set; }
        public decimal Acceleration { get; set; }        
    }
}
